/**
 *
 * @author lty
 */
public class Main {
    public static void main(String[] args) {
        String level = "钻石会员";
        double price = 100.0;
        DiscountContext context = new DiscountContext(level);
        double discountPrice = context.calculateDiscount(price);
        System.out.println("折扣后的价格为：" + discountPrice);
    }
}
